Skip to content

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Sep 23, 2024

Fix for caching when context files permissions change. This is irrelevant for a COPY operation since the they are either copied as root:root, or a specific owner/group depending on COPY --chown= argument.

Relates to coder/terraform-provider-envbuilder#43

@johnstcn
Copy link
Member

Tested with coder/terraform-provider-envbuilder#50 👍

- uses: actions/checkout@b0e28b5ac45a892f91e7d036f8200cf5ed489415 # v3
# Some unit tests need to be run as root to function correctly as they
# may attempt to run `chown`.
- run: sudo make test
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is most unfortunate and makes me sad. We'd need to refactor a significant part of kaniko to make this not be needed.

@johnstcn johnstcn merged commit caa1896 into main Sep 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants